﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using wisdom_logistics.Enum;
using Volo.Abp.Domain.Entities.Auditing;

namespace wisdom_logistics.Entity
{
    //承运合同表
    public class Carriagecontract:AuditedAggregateRoot<Guid>
    {
        //合同编号
        public string CarriageNoid { get; set; }
        //合同标题
        public string CarriageTitle { get; set; }
        //外协单位
        public string Outsourceunit { get; set; }
        //外协负责人
        public string Outsourceperson { get; set; }
        //线路
        public int Circuites { get; set; }
        //吨位价
        public decimal Tonnageprice { get; set; }
        //包车条件吨位
        public int Charteredbustonnage { get; set; }
        //包车金额
        public decimal Charteredbusprice { get; set; }
        //签订时间
        public DateTime ContractDate { get; set; }
        //经办人
        public string Responsibleperson { get; set; }
        //创建时间
        public DateTime CreateTime { get; set; }
        //状态
        public CarriagState Status { get; set; }
        //审批人
        public int Approver { get; set; }
        //合同金额
        public decimal ContractPrice { get; set; }
        //合同项目说明
        public string Projectdescription { get; set; }
        //合同条款
        public string Contractclause { get; set; }
        //合同文本
        public string ContractText { get; set; }
        //货主外键
        public int OwnerId { get; set; }
        //路线外键
        public int CircuitId { get; set; }
        //备用
        public int Spare { get; set; }

    }
}
